package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.dto.DoctorWorkMedicalAdviceDownDto;
import com.csun.cmny.provider.dto.DoctorWorkMedicalAdviceDto;
import com.csun.cmny.provider.dto.DoctorWorkModifyMedicalAdviceDto;
import com.csun.cmny.provider.dto.DoctorWorkStopMedicalAdviceDto;
import com.csun.cmny.provider.pojo.ChongmingDoctorWorkMedicalAdvice;
import com.csun.cmny.provider.vo.DoctorWorkMedicalAdviceDownVo;
import com.csun.cmny.provider.vo.DoctorWorkMedicalAdviceVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ChongmingDoctorWorkMedicalAdviceMapper extends Mapper<ChongmingDoctorWorkMedicalAdvice> {

    //查询长期医嘱
    List<DoctorWorkMedicalAdviceVo> selectMedicalAdviceListWithPage(DoctorWorkMedicalAdviceDto doctorWorkMedicalAdviceDto);

    //结束长期医嘱
    int stopMedicalAdvice(DoctorWorkStopMedicalAdviceDto doctorWorkStopMedicalAdviceDto);

    //修改长期医嘱
    int modifyMedicalAdvice(DoctorWorkModifyMedicalAdviceDto doctorWorkModifyMedicalAdviceDto);

    //删除长期医嘱
    int deleteMedicalAdvice(Long id);

    //长期医嘱单报表导出
    List<DoctorWorkMedicalAdviceDownVo> queryMedicalAdvice(DoctorWorkMedicalAdviceDownDto doctorWorkMedicalAdviceDownDto);
}
